package com.victor.entity.txt;

import java.io.Serializable;
import java.util.List;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 奖项设置（评选时间。范围）
 * 
 * @author Mr.Zhang
 *
 */
@Entity
@Table(name = "t_prizessetmsg")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class PrizesSetMsg implements Serializable {

	private static final long serialVersionUID = 1L;

	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY) // 主键类型--自动递增生成
	@Column(name = "id", unique = true, nullable = false, length = 11)
	private Integer id;

	@Column(name = "selectiontime", length = 500)
	private String selectiontime;// 评选时间

	@Column(name = "scopeofworks", length = 500)
	private String scopeofworks;// 作品范围

	@Column(name = "prizesetcontent", length = 5000)
	private String prizesetcontent;// 奖项设置说明(奖项设置下的说明)

	@Column(name = "remarks", length = 500)
	private String remarks;// 备注(右下角)

	@Transient
	private List<PrizesSetList> prizesSetLists;// 奖项列表
}
